<style>
<!--
.photo_item_field_name
{
	width: 100px;
	float: left;
}
-->
</style>


 <?php 
 $Item = $this->Gallery;
 
            foreach($Item['pictures'] as $Pict)
            {
         ?>
        <div style="width: 900px;height: 150px;float: left;margin: 10px;">
        <div  style="float: left;padding: 5px;border: 1px solid #eee;margin: 10px;">
        <div style="float: left;">
        <img style="float: left;padding: 4px;" src="<?php echo $this->baseUrl("images/thumb_small/" . $Pict['filename'])  ?>"/>
        </div>
        
        
        <div style="float: left;">
        <div style="float: left;"><div class="photo_item_field_name">Заголовок:</div><input style="width: 200px;  color: #777; border: 1px solid #e0e0e0;margin-top: 4px;" type="text" value="<?php echo $Pict['Title']?>"  pid="<?php echo $Pict['id']?>"  class="picture_title"/></div><br />
        <!--<div style="float: left;"><div class="photo_item_field_name">Описание: </div><input style="width: 200px; color:#777; border: 1px solid #e0e0e0;margin-top: 4px;" type="text" value="<?php echo $Pict['Text']?>" pid="<?php echo $Pict['id']?>" class="picture_text" /></div><br />
        <div style="float: left;"><div class="photo_item_field_name">Ссылка:   </div><input style="width: 200px; color:#777; border: 1px solid #e0e0e0;margin-top: 4px;margin-bottom: 10px;" type="text" value="<?php echo $Pict['Link']?>" pid="<?php echo $Pict['id']?>" class="picture_link" /></div><br />-->
        </div>
        
        
        <div>&nbsp;&nbsp;<a class="confirm_delete" href="<?php echo $this->baseUrl('gallery/edit/picturedelete/id/' . $Pict['id'] . '/yid/' . $Item['id'])?>">Удалить</a></div>
        </div>
        </div>
        <div style="clear: both;"></div>
        
        <?php }
            ?>
            <div style="clear: both;"></div>